package exceltocard;

import java.util.List;

/**
 * Created by Exhilaration on 12-01-2018.
 */
public class Vcard {
    private String name;
    private List<String> value;
    public String getTitle() {
        return name;
    }
    public void setTitle(String name) {
        this.name = name;
    }
    public List<String> getValue() {
        return value;
    }
    public void setValue(List<String> value) {
        this.value = value;
    }
    public static String singleContactVcard(String name, String number){
        String str="BEGIN:VCARD\n" +
                "VERSION:3.0\n" +
                "FN:"+name+"\n"+
                "N:"+name+";;;\n" +
                "TEL;TYPE=CELL:"+number+"\n"+
                "END:VCARD"+"\n";
        return str;
    }
}
